package com.ssm.service;

import com.ssm.pojo.User;

import java.util.List;

public interface UserService {

    public void insert(User user);
    public void update(User user);
    public void delete(String userName);
    public List<User> selectUserPage(Integer pageNum,Integer pageSize,String userName);
    public Integer countSize(String userName);
    public User selectUserByName(String userNae);
    public User selectByNameAndPassword(String userName,String password);
}
